<?php
/**
 * Created by PhpStorm.
 * User: nefa
 * Date: 2018/2/23
 * Time: 上午10:02
 */


function main_default(){
    main_page();
}

function main_page(){
    _output_template(0,'main');
}

function _zhengxie_outputMain(){
    $avaurl="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1519634386938&di=5d042b8e908af31674fdca6667aa8f4e&imgtype=0&src=http%3A%2F%2Ffd.topitme.com%2Fd%2Ff7%2F1d%2F11208948143cd1df7do.jpg";
    $name="张三";
    $year="2017";
    $area="雁塔区";
    $function="政协";
    $str="";
    $yifaqi="1231";
    $weilian="1111";
    $wancheng="1211";

    $daishencha_da="12/";
    $daishencha_xiao="1000";

    $daijiaoban_da="4200/";
    $daijiaoban_xiao="2500";

    $banlizhong_da="123/";
    $banlizhong_xiao="2000";

    $banwanjie_da="777/";
    $banwanjie_xiao="888";
    $wanchengbili=40;
    //内容
//    $str=$str."
//
//            </div>
////            </div>
//            <div class='main_bottom_right'>";
    $str=$str."
            <div class='main_bottom_right_top'>
            
            <div class='main_bottom_right_top_left'>
            
            <div class='main_bottom_right_top_left_avat' style='background-image: url(".$avaurl.")'> </div>
            <div class='main_bottom_right_top_left_info'>
              <div class='main_bottom_right_top_left_title'>早安,$name,祝你开心每一天!</div>
              <div class='main_bottom_right_top_left_info_bottom'>
              <div class='main_bottom_right_top_left_info_bottom_bule1'></div>
              <div class='main_bottom_right_top_left_info_bottom_year'>$year 届委员</div>
               <div class='main_bottom_right_top_left_info_bottom_bule2'></div>
                <div class='main_bottom_right_top_left_info_bottom_area'>$area</div>
                 <div class='main_bottom_right_top_left_info_bottom_gray'></div>
                 <div class='main_bottom_right_top_left_info_bottom_function'>$function - 办公室</div>
            </div>
            </div>
            
            <div class='main_bottom_right_top_left_gang'></div>
            </div>
            
            
            <div class='main_bottom_right_top_right'>
            
            <div class='main_bottom_right_top_right_wai1'>
            <div class='main_bottom_right_bottom_right1'>
            <div class='main_bottom_right_bottom_img1'></div> 
            <div  class='main_bottom_right_bottom_text1'>$yifaqi
           
            </div>
            <div class='main_bottom_right_bottom_jian1'> (件)</div>
            <div  class='main_bottom_right_bottom_state1'>已发起</div>
            </div>
            </div>
            
             <div class='main_bottom_right_top_right_wai2'>
            <div class='main_bottom_right_bottom_right2'>
            <div class='main_bottom_right_bottom_img2'></div> 
           <div  class='main_bottom_right_bottom_text2'>$weilian
           
            </div>
             <div class='main_bottom_right_bottom_jian2'> (件)</div>
            <div  class='main_bottom_right_bottom_state1'>未立案</div>
            </div>
            </div>
              <div class='main_bottom_right_top_right_wai2'>
             <div class='main_bottom_right_bottom_right3'>
             <div class='main_bottom_right_bottom_img3'></div> 
           <div  class='main_bottom_right_bottom_text3'>$wancheng
           
            </div>
             <div class='main_bottom_right_bottom_jian3'> (件)</div>
            <div  class='main_bottom_right_bottom_state1'>完结</div>
            </div>
            </div>
            </div>
               
            </div>
            ";




    $str=$str."     
            <div class='main_bottom_right_bottom'>
            <!-- 底部分为两大块-->
            <div class='main_bottom_right_bottom_top'>
            <!-- 底部上面分为两大块-->
            
                
                 
                 <div class='main_box_father'>
                 <div class='main_bottom_right_bottom_left_text1'>本年度在办提案</div>
                 
                 <div class='main_box_the_father'>
                   <div class='main_box_daishencha'>
                    <div class='main_box_kuai1'>
                     <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 3px;'>
                      <div class='main_inbox_daishencha'>
                      待审查
                      </div>
                       </div>
                       <div style='width: 0px;height: 0px;'></div>
                      <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 5px;'>
                      <div class='main_box_dazi'>$daishencha_da</div>
                      <div class='main_box_xiaozi'>$daishencha_xiao</div>
                      <div style='clear: both'></div>
                      </div>
                    </div>
                   </div>
                 </div>
                 <div class='main_box_the_father'>
                   <div class='main_box_daijiaoban'>
                   <div class='main_box_kuai1'>
                     <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 3px;'>
                      <div class='main_inbox_daijiaoban'>
                      待交办
                      </div>
                       </div>
                       <div style='width: 0px;height: 0px;'></div>
                      <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 5px;'>
                      <div class='main_box_dazi'>$daijiaoban_da</div>
                      <div class='main_box_xiaozi'>$daijiaoban_xiao</div>
                      <div style='clear: both'></div>
                      </div>
                    </div>
                </div>
                   
                 </div>
                 <div class='main_box_the_father'>
                    <div class='main_box_banlizhong'>
                <div class='main_box_kuai1'>
                     <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 3px;'>
                      <div class='main_inbox_banlizhong'>
                      办理中
                      </div>
                       </div>
                       <div style='width: 0px;height: 0px;'></div>
                      <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 5px;'>
                      <div class='main_box_dazi'>$banlizhong_da</div>
                      <div class='main_box_xiaozi'>$banlizhong_xiao</div>
                      <div style='clear: both'></div>
                      </div>
                    </div>    
                </div>
                 </div>
                 <div class='main_box_the_father'>
                 <div class='main_banwanjie'>
                 <div class='main_box_kuai1'>
                     <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 3px;'>
                      <div class='main_inbox_banwanjie'>
                      办完结
                      </div>
                       </div>
                       <div style='width: 0px;height: 0px;'></div>
                      <div  style='position: relative;left: 50%;transform: translateX(-50%);float: left;margin-top: 5px;'>
                      <div class='main_box_dazi'>$banwanjie_da</div>
                      <div class='main_box_xiaozi'>$banwanjie_xiao</div>
                      <div style='clear: both'></div>
                      </div>
                    </div>
                </div>
                  </div>
                
                
               
                  
                 </div>
                    
                 <div style='width: 230px;height: 210px;float: left;'>
                   <span style='font-size: 13px;float: left;height: 0px;margin-left: 10px;color: #999'>完成度</span>
                 <div class='main_box_cainabili' >
              
                <div class='circleChart' id='1' data-value=$wanchengbili style='color:#4e99ff;font-size: 30px;margin: auto'></div>
                </div>
                </div>
                 
                 
            </div>
          
            <div class='main_bottom_right_bottom_bottom' style='width: 100%;' >
            <div style='width: 76%; padding-left: 20px;float: left;height: 30px'>
                <div class='main_box_bottom_the_father'>
                <div style='color:#4e99ff;font-size: 16px;margin-top: 4px'>消息通知(3)</div>
               </div>
                <div class='main_box_bottom_the_father' style='height: 1px'>
                
               </div>
                <div class='main_box_bottom_the_father' style='height: 1px'>
                
               </div>
                <div class='main_box_bottom_the_father'>
                <div style='width: 180px;height: 160px'>
                 <a href='?action=xinxi' style=' text-decoration: none;text-align: right'>
                    <div style='color:#4e99ff;font-size: 14px;margin-top: 4px'>查看更多>></div>
                  </a>
                </div>
                 
               
               </div>
            </div>
            
            <div style='width: 230px;float: left;color:#4e99ff;font-size: 16px;margin-top: 4px;height: 30px'>
            群组(5)
            </div>

           
            
            </div>
             <div style='width: 68%; margin-left: 20px;float: left;height: 279px;margin-top: 21px;border:1px solid black;border-radius: 5px;'></div>
             <div style='width: 10%;float: left;height: 96px;margin-top: 7px;'></div>
             <div style='width: 230px;float: left;height: 279px;margin-top: 7px;border:1px solid black;border-radius: 5px;margin-top: 21px;'></div>
            </div>";


    return $str;
}


